package com.monitor.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.monitor.common.annotation.Excel;
import com.monitor.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 数据中心对象 data_center
 * 
 * @author monitor
 * @date 2024-06-11
 */
public class DataCenter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String dataCenterName;

    /** 数据中心名称 */
    @Excel(name = "数据中心名称")
    private String dataCenterId;

    /** 品牌总数 */
    @Excel(name = "数据中心总数")
    private Integer dataCenterNumber;

    /** 正常运行总数 */
    @Excel(name = "正常运行总数")
    private Integer normalNumber;

    /** 异常运行总数 */
    @Excel(name = "异常运行总数")
    private Integer abnormalNumber;

    /** 百分比 */
    @Excel(name = "百分比")
    private BigDecimal percent;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    private String status;

    private String deviceId;

    private String softwareId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDataCenterName(String dataCenterName) 
    {
        this.dataCenterName = dataCenterName;
    }

    public String getDataCenterName() {
        return dataCenterName;
    }

    public Integer getDataCenterNumber() {
        return dataCenterNumber;
    }

    public String getDataCenterId() {
        return dataCenterId;
    }

    public void setDataCenterId(String dataCenterId) {
        this.dataCenterId = dataCenterId;
    }

    public void setDataCenterNumber(Integer dataCenterNumber) {
        this.dataCenterNumber = dataCenterNumber;
    }

    public Integer getNormalNumber() {
        return normalNumber;
    }

    public void setNormalNumber(Integer normalNumber) {
        this.normalNumber = normalNumber;
    }

    public Integer getAbnormalNumber() {
        return abnormalNumber;
    }

    public void setAbnormalNumber(Integer abnormalNumber) {
        this.abnormalNumber = abnormalNumber;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public BigDecimal getPercent() {
        return percent;
    }

    public void setPercent(BigDecimal percent) {
        this.percent = percent;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getSoftwareId() {
        return softwareId;
    }

    public void setSoftwareId(String softwareId) {
        this.softwareId = softwareId;
    }

    @Override
    public String toString() {
        return "DataCenter{" +
                "id=" + id +
                ", dataCenterName='" + dataCenterName + '\'' +
                ", dataCenterId='" + dataCenterId + '\'' +
                ", dataCenterNumber=" + dataCenterNumber +
                ", normalNumber=" + normalNumber +
                ", abnormalNumber=" + abnormalNumber +
                ", percent=" + percent +
                ", delFlag='" + delFlag + '\'' +
                ", status='" + status + '\'' +
                ", deviceId='" + deviceId + '\'' +
                ", softwareId='" + softwareId + '\'' +
                '}';
    }
}
